//
//  GYShopingCartGoodsTableViewCell.h
//  GoodLuck
//
//  Created by apple on 2018/3/27.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GYShopingCartGoods.h"

typedef void(^deleteOrAddGoodsNumBlock)(NSInteger goodsNum);

@interface GYShopingCartGoodsTableViewCell : UITableViewCell

/** 购物车商品数据模型 */
@property (nonatomic, strong) GYShopingCartGoods *goods;

/** 商品数量block */
@property (nonatomic, copy) deleteOrAddGoodsNumBlock deleteOrAddGoodsNumCallBack;

+ (instancetype)cellWithTableView:(UITableView *)tableView;

- (CGFloat)getHeight:(GYShopingCartGoods *)model;
@end
